Skip to contentSkip to conversation

HCI version

Bluez-users Lauri Lubi 2 participants 3 messages Jan 18, 2007 – Jan 25, 2007 Bluetooth drivers

lore
Share & tools
lore

Lauri Lubi

author
#0 lore raw

Hi,

Does anybody know the meaning of HCI version in hciconfig –a ?

I have a dongle (HYPERLINK "http://www.globalsat.com.tw/eng/product_detail_00000057.htm"http://www.glob alsat.com.tw/eng/product_detail_00000057.htm) which should be Bluetooth 2.0
+ EDR. This is what is says on Globalsats homepage and in Bluetooth Qualified Product Listing Notice from SGS.

BUT:

# hciconfig hci0 version

hci0: Type: USB

        BD Address: 00:0D:B5:21:02:54 ACL MTU: 384:8 SCO MTU: 64:8

        HCI Ver: 1.2 (0x2) HCI Rev: 0x7a6 LMP Ver: 1.2 (0x2) LMP Subver:

0x7a6

Manufacturer: Cambridge Silicon Radio (10)

Is HCI Ver the same as supported Bluetooth version?

Mvh

Lauri Lubi

Lubi Datakonsult

Tel +46 (0) 174 40416

Mob +46 (0) 730 39 31 00

HYPERLINK "mailto:[email protected]"[email protected]

Signature · 4 lines
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.14/636 - Release Date: 2007-01-18
04:00

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#1 lore raw
Quoted 3 lines · Lauri Lubi
        HCI Ver: 1.2 (0x2) HCI Rev: 0x7a6 LMP Ver: 1.2 (0x2) LMP Subver: 0x7a6

Is HCI Ver the same as supported Bluetooth version?

Yes it is. Or, at least, it's supposed to be.

Sadly, this dongle reports the wrong spec version. The firmware (0x07a6) is BT 2.0 + EDR compliant, it just the dongle reports itself as just BT 1.2 compliant.

I'm sure this firmware reported itself as 2.0 + EDR when we shipped it.

We did add the ability for the firmware to spoof its spec version to work round a problem in some host stacks where they were rejecting devices complaint to a later version of the spec than that to which the stack had been written. Since a 2.0 + EDR device will work quite happily with a 1.2 stack (there are no new HCI events) this was an easy workaround. It's possible that the dongle manufacturer is shipping this device with spoofing enabled because it was being bundled with such a host stack.

The problem should be easily remedied by resetting the PS key HCI_LMP_LOCAL_VERSION back to its default value of 0x0303, though, in practice, it shouldn't make any difference. All this key does is change what version the dongle reports to the stack not how the firmware behaves. No devices or host stacks are meant to use the version number to change their behaviour, they're meant to use the supported features. This device will continue give EDR performance even without this change and BlueZ should treat it as having 2.0 + EDR features. If you're intending to use this dongle with a host stack that might be upset by a 2.0 + EDR device, you should leave this PS key alone.

If you want to know whether 2.0 + EDR features are really supported then look at the supported features, not the version.

- Steven

Signature · 13 lines
To access the latest news from CSR copy this link into a web browser:  http://www.csr.com/email_sig.php

To get further information regarding CSR, please visit our Investor Relations page at http://ir.csr.com/csr/about/overview

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
author
#2 lore raw

Thanks, Marcel and Steven.

That explains why it reports ver 1.2. I understand that I have no need to worry about it, as it does not affect performance or features. The dongles are travelling (in use) and out of my sight currently, but I will check the features as soon as possible.

Mvh
Lauri Lubi
Mob +46 730 39 31 00
=

-----Ursprungligt meddelande-----
Fr=E5n: [email protected] [mailto:[email protected]] F=F6r Steven Singer
Skickat: den 23 januari 2007 20:29
Till: BlueZ users
=C4mne: Re: [Bluez-users] HCI version

Quoted 1 line · Lauri Lubi
        HCI Ver: 1.2 (0x2) HCI Rev: 0x7a6 LMP Ver: 1.2 (0x2) LMP Subver:

0x7a6

Quoted 3 lines

=

Is HCI Ver the same as supported Bluetooth version?

Yes it is. Or, at least, it's supposed to be.

Sadly, this dongle reports the wrong spec version. The firmware (0x07a6) is BT 2.0 + EDR compliant, it just the dongle reports itself as just BT 1.2 compliant.

I'm sure this firmware reported itself as 2.0 + EDR when we shipped it.

We did add the ability for the firmware to spoof its spec version to work round a problem in some host stacks where they were rejecting devices complaint to a later version of the spec than that to which the stack had been written. Since a 2.0 + EDR device will work quite happily with a 1.2 stack (there are no new HCI events) this was an easy workaround. It's possible that the dongle manufacturer is shipping this device with spoofing enabled because it was being bundled with such a host stack.

The problem should be easily remedied by resetting the PS key HCI_LMP_LOCAL_VERSION back to its default value of 0x0303, though, in practice, it shouldn't make any difference. All this key does is change what version the dongle reports to the stack not how the firmware behaves. No devices or host stacks are meant to use the version number to change their behaviour, they're meant to use the supported features. This device will continue give EDR performance even without this change and BlueZ should treat it as having 2.0 + EDR features. If you're intending to use this dongle with a host stack that might be upset by a 2.0 + EDR device, you should leave this PS key alone.

If you want to know whether 2.0 + EDR features are really supported then look at the supported features, not the version.

- Steven
-- =

=

-- =

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.8/649 - Release Date: 2007-01-23 20:40
=

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE=
VDEV
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users